package com.jvtd.nettyim.im.session;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Created by neal.zhang
 * @date 2020/5/30 - 14:55
 */
@Data
@NoArgsConstructor
public class Session {

    private String userId;
    private String userName;

    public Session(String userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    @Override
    public String toString() {
        return userName + ":" + userName;
    }
}
